Skip to content

Instantly share code, notes, and snippets.

@devops-school
devops-school / README.md
Created December 25, 2024 15:51
Complete Guide to Pytest: From Basics to Advanced

Complete Guide to Pytest: From Basics to Advanced

Pytest is a powerful Python testing framework that is widely used for unit testing, integration testing, and functional testing. This guide will take you step by step from basic to advanced features of Pytest, providing a comprehensive understanding of its capabilities.


Table of Contents

  1. Introduction to Pytest
  2. Setting Up Pytest
@b0gdanw
b0gdanw / Disable-Tahoe-Bloatware.sh
Last active September 2, 2026 15:50
Disable Tahoe Bloatware
#!/bin/zsh
# WARNING! The script is meant to show how and what can be disabled. Don’t use it as it is, adapt it to your needs.
# Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
# Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12), macOS Ventura (13), macOS Sonoma (14), macOS Sequoia (15) and macOS Tahoe (26)
# Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
# Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist
# To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot. From Terminal : sudo rm -r /private/var/db/com.apple.xpc.launchd/*
# user
@0xdevalias
0xdevalias / audio-pitch-correction.md
Last active September 2, 2026 15:50
Some notes on Audio pitch correction (eg. autotune, melodyne, etc)
@sdwfrost
sdwfrost / counties.geojson
Created September 23, 2019 17:54
US Counties data in geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

/*
* Copyright 2026 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
<table>
<thead>
<tr>
<th>Method</th>
<th>Time Complexity</th>
<th>Idea</th>
</tr>
</thead>
<tbody>
<tr>
@tomkabel
tomkabel / svp-fix.md
Created May 11, 2026 06:06
Fix: SVP Linux Detection Fix — VapourSynth VSScript Library Path Error & vs.get_core AttributeError (Complete Guide)

🛠️ Complete Fix: SVP 4 Linux + mpv + VapourSynth R75 Compatibility

A robust, system-friendly guide to resolving SVP 4 failing to detect mpv or initialize motion interpolation on modern Linux distributions (e.g., Arch Linux with Python 3.14+ and VapourSynth R75+).

Disclaimer: Modifying system files in /usr/lib/ is a critical anti-pattern. This guide uses dynamic scripting and user-space (~/.local/) monkey-patching to ensure your fixes survive system updates (pacman -Syu).


🛑 Symptom 1: VSScript Library Path Auto-Detection Failure

@iam-veeramalla
iam-veeramalla / claude_with_ollama.md
Last active September 2, 2026 15:33
claude code integration with ollama to use local models

Run Claude with the power of Local LLMs using Ollama

Install Ollama

curl -fsSL https://ollama.com/install.sh | sh

Pull the Model

ollama pull glm-4.7-flash # or gpt-oss:20b (for better performance)

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active September 2, 2026 15:27
Conventional Commits Cheatsheet